package net.sansi.v3correctserver.service.photorec;

import net.sansi.v3correctserver.entity.IntPoint;
import net.sansi.v3correctserver.entity.analyse.PhotoAnalyseResult;
import net.sansi.v3correctserver.entity.image.RecImage;

import java.util.List;

/**
 * Created by Fang
 * create time : 2024/11/1
 * IDE : IntelliJ IDEA
 * <p>
 * 图像识别服务
 */

public interface RecService {

    /**
     * 矩形屏图像识别
     * 得到相片参数，帮助确定好相片
     *
     * @param ledPhoto   矩形屏图像
     * @param blackPhoto 黑色图像
     * @param fence      围栏
     * @return 识别结果
     */
    PhotoAnalyseResult.Rect rectPhoto(RecImage ledPhoto, RecImage blackPhoto, List<IntPoint> fence);

}
